/**
 * Created by moyu on 2017/4/8.
 */
const md5 = (text) => {
    const crypto = require('crypto');
    return crypto.createHash('md5').update(text).digest('hex');
}


module.exports = md5;
